﻿#ifndef MYHOME_H
#define MYHOME_H

#include <QMainWindow>
#include <QMovie>
#include "musicwindow.h"
#include "appstore.h"
#include "weatherapp.h"
#include "mysql.h"
#include "clockwidget.h"
#include "weblinkbutton.h"
namespace Ui {
class myHome;
}

class MainWindow;
class myHome : public QMainWindow
{
    Q_OBJECT

public:
    explicit myHome(QWidget *parent = nullptr);
    void backWidget(QWidget *parent);
    void mousePressEvent(QMouseEvent *event) override;
    void mouseReleaseEvent(QMouseEvent *event) override;
    void mouseMoveEvent(QMouseEvent *event) override;
    ~myHome();

private slots:
    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

    void on_pushButton_3_clicked();

private:
    Ui::myHome *ui;
    QWidget *back;
    musicWindow *pMusic=nullptr;
    appStore *store=nullptr;
    weatherApp *weather=nullptr;
    QPoint m_dragPosition;
};

#endif // MYHOME_H
